UCF STIG Viewer Logo

Nutanix AOS must generate audit records for file permission actions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-254148 NUTX-OS-000420 SV-254148r846532_rule Medium
Description
Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Audit records can be generated from various components within the information system (e.g., module or policy filter).
STIG Date
Nutanix AOS 5.20.x OS Security Technical Implementation Guide 2022-08-24

Details

Check Text ( C-57633r846530_chk )
Confirm Nutanix AOS generates audit records on all successful/unsuccessful attempts to access categories of information occur.

$ sudo grep -w chmod /etc/audit/audit.rules
-a always,exit -F arch=b64 -S chmod -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b64 -S chmod -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b32 -S chmod -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b32 -S chmod -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete

$ sudo grep -w fchmod /etc/audit/audit.rules
-a always,exit -F arch=b64 -S fchmod -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b64 -S fchmod -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b32 -S fchmod -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b32 -S fchmod -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete

$ sudo grep -w fchmodat /etc/audit/audit.rules
-a always,exit -F arch=b64 -S fchmodat -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b64 -S fchmodat -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b32 -S fchmodat -F auid=0 -k audit_time_perm_mod_export_delete
-a always,exit -F arch=b32 -S fchmodat -F auid>=1000 -F auid!=4294967295 -k audit_time_perm_mod_export_delete

If the output does not contain all of the above rules, this is a finding.
If both the "b32" and "b64" audit rules are not defined for the listed syscall(s), this is a finding.
Fix Text (F-57584r846531_fix)
Configure the audit rules by running the following command.

$ sudo salt-call state.sls security/CVM/auditCVM